package main

import (
	"fmt"
	"math/rand"
)

func main() {
	for i := 0; i < 10; i++ {
		resTest()
	}
}

func resTest() (res bool) {
	defer func() {
		fmt.Println(res)
	}()
	if rand.Intn(2) == 1 {
		return true
	}
	return false
}
